<?php
//使用post接收数据
$name = $_POST['name'];
$email = $_POST['email'];
$feedback = $_POST['feedback'];

//发送的地址
$toaddress = '2578458354@qq.com';
//发送邮件的主题
$subject = 'Feedback from web site';
//发送邮件的内容
$mailcontent = 'Customer name' . $name . "\n"
               .'Customer email'.$email . "\n"
               ."Customer comments:\n".$feedback . "\n";        
;
$fromaddress = 'Form:1312797840@qq.com';

mail($toaddress,$subject,$mailcontent,$fromaddress);

?>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1>Feedback submit</h1>
    <p>Your feedback has been not</p>
</body>
</html>